//
//  KindButton.m
//  K8彩票
//
//  Created by zhoubo on 2017/6/7.
//  Copyright © 2017年 zhoubo. All rights reserved.
//

#import "KindButton.h"
@interface KindButton()



@end

@implementation KindButton

-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
//        UIImageView* imgview = [[UIImageView alloc]initWithFrame:CGRectMake((self.frame.size.width-50)/2, (self.frame.size.height - 35)/2, 50, 35)];
//        imgview.contentMode = UIViewContentModeScaleAspectFit;
//        
//        [self addSubview:imgview];
//        self.imgview = imgview;
        
  
        self.backgroundColor = [UIColor redColor];



    }
    return self;
}

-(void)setImgviewWithName:(NSString*)name
{

    [self setTitle:name forState:UIControlStateNormal];
}

@end
